<?php /*
	EZ-Shop, Starter E-Commerce Platform
    Copyright (C) 2009  David Hinchliffe - FC Software Ltd

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/ ?>
<table width="824" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/header-logo.jpg" alt="Header banner" /></td>
      </tr>
</table>
			
<div class="menu">
			<?php if(isset($_SESSION['memberid']) && trim($_SESSION['memberid'])!="") { 
				$mylink="changeaccountinfo.php";
			} else { 
				$mylink="customerlogin.php"; 
			}
			?> 
			<ul>
			<li><a href="index.php">HOME</a></li>
			<li><a href="catlist.php">CATEGORIES</a></li>
			<li><a href="brands.php">BRANDS</a></li>
			<li><a href="products.php">PRODUCTS</a></li>
			<li><a href="cart.php">MY CART</a></li>	
			<li><a href="tracking.php">TRACKING</a></li>
			<li><a href="<?php echo $mylink;?>">ACCOUNT</a>
				<?php if(isset($_SESSION['memberid']) && trim($_SESSION['memberid'])!="") {?>                                             
				<ul>
					<li><a href="mywishlist.php">WishList</a></li>
					<li><a href="tracking.php">Orders/Tracking</a></li>
					<li><a href="changepass.php">Change Password</a></li>
					<li><a href="custnewsletter.php">Newsletters</a></li>
					<li><a href="changeaccountinfo.php">Account Details</a></li>
					<li><a href="custlogout.php">Logout</a></li>
				</ul>
				<?php }?>
			</li>
			<li><a href="faq.php">FAQ'S</a></li>
			<li><a href="aboutus.php">ABOUT US</a></li>
			<?php if(isset($_SESSION['memberid'])) { ?><li><a href="custlogout.php" class="navigation">LOGOUT</a></li><?php } ?>
			</ul>
</div>